<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-container>
        <el-header>Header</el-header>
        <el-main>
          <!-- 微应用 -->
          <router-view/>
          <!-- <div id="container"></div> -->
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="scss" scoped>
.common-layout {
  height: 100%;
  background: $commonBgColor;
  .el-aside{
    height: 100%;
    background: pink;
  }
  .el-header{
    background: blanchedalmond;
  }
  .el-container{
    height: 100%;
  }
  .el-main{
    height: 100%;
    padding: 8px 7px;
    box-sizing: border-box;
    #container{
      height: 100%;
      background: burlywood;
    }
  }
}
</style>
